package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.Rebate;
import com.jsh.erp.datasource.entities.RebateRule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RebateRuleMapperEx {


    List<RebateRule> selectByConditionRebateRule(@Param("rebateId") String rebateId,
                                                 @Param("offset") Integer offset,
                                                 @Param("rows") Integer rows);

    Long countRebateRule(@Param("rebateId")String rebateId);

    int batchDeleteRebateRuleById(@Param("id") String id);

}
